<template>
  <van-form @submit="onSubmit">
         
  </van-form>
</template>
<script>
import {Form,Button,Field} from 'vant';
export default {
  name:"formTable",
  components:{
    [Form.name]:Form,
    [Button.name]:Button,
    [Field.name]:Field
  },
  data() {
    return {
      username: "",
      password: "",
    };
  },
  methods: {
    onSubmit(values) {
      console.log("submit", values);
    },
  },
};
</script>

<style></style>
